**************************************************************
***************** Figure 2: Data Availability Map *****************
**************************************************************


use CCL_Law_Data_Ver1.dta,clear
merge 1:1 country year using CCL_Controls_Data_20171011, force
drop if _merge==2
drop _merge

keep if year==2010
kountry country, from(other) stuck
ren _ISO3N_ iso3n
kountry iso3n, from(iso3n) to(iso3c)
ren _ISO3C_ ISO3
replace ISO3="JEY" if country=="Jersey Channel Islands"
drop if ISO3==""

merge 1:1 ISO3 using worlddb
drop if NAME=="Antarctica"
drop if _merge==2

tab year

#delimit;
*P_corr_usa;
spmap competition_law_coded_ever using worldcoord,
	id(_ID) clm(custom) clb(0 0.9 1) graphregion(fcolor(white) color(white))
	fcolor(white "255 180 180") name(antitrustdataavailable, replace);
graph export "Figure2.pdf", replace;

